<div style="background-color: dodgerblue;height: 50px; position: fixed; top: 0; left: 0; bottom: 0; right: 0">
    <div style="font-size:25px; margin-left:30px; float: left; line-height: 50px">
        {{ name }}
    </div>
    <div style="font-size:25px; margin-right: 30px; float:right; line-height: 50px">
        <a href="{% url 'select:out' %}">退出登录</a>
    </div>
    {% if display %}
        <div style="font-size:25px; margin-right: 30px; float:right; line-height: 50px">
            <a href="{% url 'select:index' %}">{{ display }}</a>
        </div>
    {% endif %}
    {% if detail %}
        <div style="font-size:25px; margin-right: 30px; float:right; line-height: 50px">
            <a href="{% url 'select:display' city %}">{{ detail }}</a>
        </div>
    {% endif %}
</div>